Skip to content

Configure I2C Fast Mode when I2C freq is more than 100kHz #305

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 3, 2018

Conversation

LMESTM
Copy link
Member

@LMESTM LMESTM commented Aug 13, 2018

##Description

For STM32 families that have a DutyCycle init parameter, we need to
select the Fast Mode dedicated configuration which will set the
fast mode bit in CCR register.

Fixes #203
so #203 can be removed from the list to be addressed in #217

Tests

Tested on NUCLEO_L152RE and NUCLEO_F429ZI with eepromTest example from extEEPROM library.

@LMESTM LMESTM force-pushed the i2c_timing branch 3 times, most recently from a11d173 to f8a5a29 Compare August 13, 2018 08:54
For STM32 families that have a DutyCycle init parameter, we need to
select the Fast Mode dedicated configuration which will set the
fast mode bit in CCR register.
@ghent360
Copy link
Contributor

I'll try it an let you know by the end of the week.

@ghent360
Copy link
Contributor

It worked fine on my project.

@fpistm fpistm self-requested a review September 3, 2018 15:57
@fpistm fpistm merged commit 61f4ebd into stm32duino:master Sep 3, 2018
@fpistm fpistm added this to the 1.3.1 milestone Sep 3, 2018
@fpistm fpistm added bug 🐛 Something isn't working fix 🩹 Bug fix labels Sep 3, 2018
benwaffle pushed a commit to benwaffle/Arduino_Core_STM32 that referenced this pull request Apr 10, 2019
Configure I2C Fast Mode when I2C freq is more than 100kHz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working fix 🩹 Bug fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants